package com.example.script.admin;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

import javax.naming.AuthenticationException;
import java.net.Authenticator;

@SpringBootApplication(scanBasePackages = "com.example")
@MapperScan(basePackages = {"com.example.script.mapper","com.example.script.admin.dao"})

public class ScriptAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScriptAdminApplication.class,args);
    }
}
